package com.guilin.system.service;

import java.util.Date;
import java.util.List;
import com.guilin.domain.AlumniVisitApplication;

/**
 * 校友回访申请Service接口
 * 
 * @author xiaoqi
 * @date 2025-06-23
 */
public interface AlumniVisitApplicationService
{
    /**
     * 查询校友回访申请
     * 
     * @param id 校友回访申请主键
     * @return 校友回访申请
     */
    public AlumniVisitApplication selectAlumniVisitApplicationById(Long id);

    /**
     * 查询校友回访申请列表
     * 
     * @param alumniVisitApplication 校友回访申请
     * @return 校友回访申请集合
     */
    public List<AlumniVisitApplication> selectAlumniVisitApplicationList(AlumniVisitApplication alumniVisitApplication);

    /**
     * 新增校友回访申请
     * 
     * @param alumniVisitApplication 校友回访申请
     * @return 结果
     */
    public int insertAlumniVisitApplication(AlumniVisitApplication alumniVisitApplication);

    /**
     * 修改校友回访申请
     * 
     * @param alumniVisitApplication 校友回访申请
     * @return 结果
     */
    public int updateAlumniVisitApplication(AlumniVisitApplication alumniVisitApplication);

    /**
     * 批量删除校友回访申请
     * 
     * @param ids 需要删除的校友回访申请主键集合
     * @return 结果
     */
    public int deleteAlumniVisitApplicationByIds(Long[] ids);

    /**
     * 删除校友回访申请信息
     * 
     * @param id 校友回访申请主键
     * @return 结果
     */
    public int deleteAlumniVisitApplicationById(Long id);

    /**
     * 审核校友回访申请
     * @param application
     * @return
     */
    public int reviewAlumniVisitApplication(AlumniVisitApplication application);


    /**
     * 查询个人的回访申请记录
     * @param alumniId
     * @return
     */
    List<AlumniVisitApplication> selectPersonalApplications(Long alumniId);

    /**
     * 查询过期的申请
     * @param status 状态值
     * @param currentDate 当前日期
     * @return 申请列表
     */
    List<AlumniVisitApplication> selectExpiredApplications(Long status, Date currentDate);
}
